package com.freda.oa.flow.support.Itf;

import com.freda.oa.flow.run.vo.FlowCommonListenerVo;
import com.freda.oa.flow.run.vo.FlowRunInfoVo;
/**
 * 流程监听支持
 * @author Rally
 *
 */
public interface FlowListenerSupportItf {
	/**
	 * 实例化所有监听
	 * @param runInfo
	 * @param eventName
	 * @return
	 */
	public abstract FlowCommonListenerVo CreateAllListeners(FlowRunInfoVo runInfo, String eventName);
	
	public abstract int excuteListeners(FlowRunInfoVo runInfo,FlowCommonListenerVo listenerVo,String eventName);
	
}